package com.example.employee;

import com.example.common.handler.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@Import(GlobalExceptionHandler.class)
@MapperScan("com.example.employee.mapper")
@EnableFeignClients(basePackages = "com.example.upload.api",defaultConfiguration = com.example.upload.config.DefaultFeignConfig.class)
@SpringBootApplication
public class EmployeeApplication {
    public static void main(String[] args) {
        SpringApplication.run(EmployeeApplication.class, args);
    }
}

